package com.xucranger.ojapi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xucranger.ojapi.enity.DTO.StudentDTO;
import com.xucranger.ojapi.enity.DTO.StudentQueryDTO;
import com.xucranger.ojapi.enity.DTO.common.PageResultDTO;
import com.xucranger.ojapi.enity.DTO.common.ResponseDTO;
import com.xucranger.ojapi.enity.VO.StudentVO;
import com.xucranger.ojapi.enity.domain.Student;

import java.util.List;

/**
*
*/
public interface StudentService extends IService<Student> {

    ResponseDTO<PageResultDTO<StudentVO>> queryByPage(StudentQueryDTO queryDTO);
    ResponseDTO<String> add(StudentDTO addDTO);
    ResponseDTO<String> update(StudentDTO updateDTO);
    ResponseDTO<String> delete(String id);
    ResponseDTO<String> deleteByIds(String ids);
    String getStuname(StudentQueryDTO queryDTO);
}
